//
//  WLCountdownTask.h
//  ProjectforHDX
//
//  Created by HDX on 16/5/11.
//  Copyright © 2016年 H.DX. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WLCountdownTask : NSOperation
/**
 *  计时中回调
 */
@property (copy, nonatomic) void (^countingDownBlcok)(NSTimeInterval timeInterval);
/**
 *  计时结束后回调
 */
@property (copy, nonatomic) void (^finishedBlcok)(NSTimeInterval timeInterval);
/**
 *  计时剩余时间
 */
@property (assign, nonatomic) NSTimeInterval leftTimeInterval;
/**
 *  后台任务标识，确保程序进入后台依然能够计时
 */
@property (unsafe_unretained, nonatomic) UIBackgroundTaskIdentifier taskIdentifier;
@end
